package com.forsythia.sns.dao;

import java.util.List;

import com.forsythia.sns.to.SignatureTO;
import com.forsythia.sns.to.UserTO;

public interface UserDAO extends BaseDAO{

    public boolean isEmailExists(String email);

    public boolean isLoginNameExists(String loginName);

    public List<UserTO> searchUserTOByName(String userName);

    public SignatureTO getLastSignature(String userId);

    public List<UserTO> getFriends(String userId, int firstResult, int fetchSize);
    
}
